﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Presentation.Represent
{
    public partial class SchoolCreate : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void LinkButtonstartagreementdate_Click(object sender, EventArgs e)
        {
            Calendarstartagreementdate.Visible = true;
        }

        protected void Calendarstartagreementdate_SelectionChanged(object sender, EventArgs e)
        {
            txtstartagreementdate.Text = Calendarstartagreementdate.SelectedDate.ToShortDateString();
            Calendarstartagreementdate.Visible = false;
        }

        protected void LinkButtonendagreementdate_Click(object sender, EventArgs e)
        {
            Calendarendagreementdate.Visible = true;

        }

        protected void Calendarendagreementdate_SelectionChanged(object sender, EventArgs e)
        {
            txtendagreementdate.Text = Calendarendagreementdate.SelectedDate.ToShortDateString();
            Calendarendagreementdate.Visible = false;
        }
    }
}